import math


def getDistance(x1: float, y1: float, x2: float, y2: float):
    return math.sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2))


circle1_x, circle1_y, circle1_r = eval(input())
circle2_x, circle2_y, circle2_r = eval(input())

d = getDistance(circle1_x, circle1_y, circle2_x, circle2_y)
if d <= abs(circle2_r-circle1_r):
    print('circle2 is inside circle1')
elif d <= circle1_r + circle2_r:
    print('circle2 overlaps circle1')
else:
    print('circle2 does not overlap circle1')